home *** CD-ROM | disk | FTP | other *** search
- @echo off
- @if not "%8" == "" echo %8
- rem [
- rem Name: u.w95once.bat
- rem
- rem Derived from: w95batch.bat
- rem
- rem Author: Bruce Godden
- rem
- rem Created on: Nov 1996
- rem
- rem Sccs ID: @(#)u.w95once.bat 1.12 09/11/97
- rem
- rem Coding Stds:
- rem
- rem Purpose: Second Windows 95 batch file. This file triggers the
- rem process of updating Windows 95 with the Insignia
- rem drivers. It runs from inside Windows.
- rem
- rem Parameters: 1 host OS type i.e. "mac" or "unix"
- rem 2 new serial number (8 hex digits)
- rem 3 old serial number (8 hex digits)
- rem 4 Host System name
- rem 5 Host System release
- rem 6 Host System version
- rem 7 Host System hardware type
- rem 8 On/Off argument for echo
- rem 9 two-letter language ID
- rem
- rem Copyright 1997 Insignia Solutions PLC. All rights reserved.
- rem ]
-
- rem Log the command line and the time of calling (cf. DOS phase of the update),
- rem and append them to the history file.
- echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 >>c:\insignia\up.log
- echo. | date >>c:\insignia\up.log
- echo. | time >>c:\insignia\up.log
- echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 >>c:\insignia\uphist.log
- echo. | date >>c:\insignia\uphist.log
- echo. | time >>c:\insignia\uphist.log
-
- echo Continuing to update your configuration. Please wait...
-
- goto %1_only
-
- :unix_only
- rem SGI Japanese additional IE favourite.
- rem SGI bits. From IRIX 6.4 "uname -s" irritatingly returns the version
- rem appended to the OS name.
- ibatch os_name string %4 0 4
- if not "%os_name%" == "IRIX" goto no_nsg
- if not "%9" == "jp" goto no_nsg
- echo [InternetShortcut]> "c:\windows\favorites\Nihon Silicon Graphics.url"
- echo URL=http://www.sgi.co.jp/>> "c:\windows\favorites\Nihon Silicon Graphics.url"
- rem and remove the Mac-oriented SoftWindows URL
- del "c:\windows\favorites\SoftWindows Home Page.url" >>c:\insignia\up.log
- call c:\windows\cit.bat >>c:\insignia\up.log
-
- :no_nsg
- set os_name=
- goto all_hosts
-
- :mac_only
- goto all_hosts
-
- :all_hosts
-
- REM Patch VMM32.VXD now if Windows 95 is being installed on RealPC.
- REM It was done earlier if we are upgrading Windows 95 (including SW95 1.0).
- REM NOTE: if vmmpatch carries out the patch then we must force a reboot
- REM at the end of this batch file (we still do so anyway as at 26/7/97).
- call vmmpatch new %2 %3 %1
-
- start /w c:\insignia\win95lic
- echo Update complete. Please wait for system restart.
- exit